<?php
if (!defined('BASEPATH'))
	exit('No direct script access allowed');
class Banner_model extends MY_Model
{
    private $table = 'banner';
	public function __construct()
	{
		parent::__construct($this->table);
	
	}
	//获取轮播图列表
	public function getList($where){
	    $select='*,concat("'.IMAGEHOST.'", imagePath) as imagePath';
	    return $this->banner_model->getWhere($where,$select);     
	}
	
}
?>